package com.irdstudio.efp.riskm.service.dao;

import com.irdstudio.efp.riskm.service.domain.LmtFreezeApp;
import com.irdstudio.efp.riskm.service.vo.LmtFreezeAppVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>DAO interface:额度冻结申请表				<p>
 * @author ligm
 * @date 2019-08-10
 */
public interface LmtFreezeAppDao {

    public int insertLmtFreezeApp(LmtFreezeApp lmtFreezeApp);

    public int deleteByPk(LmtFreezeApp lmtFreezeApp);

    public int updateByPk(LmtFreezeApp lmtFreezeApp);

    public LmtFreezeApp queryByPk(LmtFreezeApp lmtFreezeApp);

    public List<LmtFreezeApp> queryLmtContNoByPk(LmtFreezeAppVO lmtFreezeApp);

    public List<LmtFreezeApp> queryLmtContNoAll(LmtFreezeAppVO lmtFreezeApp);

    public List<LmtFreezeApp> queryAllOwnerByPage(LmtFreezeAppVO lmtFreezeApp);

    public List<LmtFreezeApp> queryAllCurrOrgByPage(LmtFreezeAppVO lmtFreezeApp);

    public List<LmtFreezeApp> queryAllCurrDownOrgByPage(LmtFreezeAppVO lmtFreezeApp);

    public List<LmtFreezeApp> queryAllByConditionsByPage(LmtFreezeApp lmtFreezeApp);

    public String queryFrzSerno(@Param("lmtContNo") String lmtContNo);

    public List<LmtFreezeApp> queryAllCurrOwnerPrdByPage(LmtFreezeApp lmtFreezeApp);

}
